Standardize sensor data from smartphone apps


In [1]:
from sensordata import Load

In [2]:
# process Shane's iPhone data from car trip: Cambridgeport to Censio and back.
dfloc = '../Data/shaneiphone_exp2.csv'
df_processed = Load(dfloc)


Reading csv file into Pandas dataframe
Rotating to common reference frame...
...accelerometer
...orientation
...userAcceleration
...gravity
...magneticField
...gyroscope
Resampling to 10 Hz
Storing dataframe with modified date column to ../Data/shaneiphone_exp2_processed.csv

In [3]:
# process Shane's iPhone data from bus trip: Route 47.
dfloc = '../Data/shanebus20150827.csv'
df_processed = Load(dfloc)


Reading csv file into Pandas dataframe
Rotating to common reference frame...
...accelerometer
...orientation
...userAcceleration
...gravity
...magneticField
...gyroscope
Resampling to 10 Hz
Storing dataframe with modified date column to ../Data/shanebus20150827_processed.csv

In [ ]: